package fr.upmc.i3s.upmcontact.views.dialogs;

import fr.upmc.i3s.upmcontact.R;
import android.app.AlertDialog;
import android.content.Context;

public class NoConnectivityDialog {
	
	public static AlertDialog build(Context context) {
		return new AlertDialog.Builder(context)
		.setTitle(R.string.title_no_connectivity)
		.setMessage(context.getString(R.string.msg_no_connectivity))
		.setIcon(R.drawable.ic_launcher_sad)
		.setPositiveButton(android.R.string.yes, null)
		.setCancelable(true).create();
	}
	
}
